.. _ocabitstringactuator: 1.1.1.1.13 OcaBitstringActuator ================================ Class Hierarchy: :ref:`OcaRoot ` :raw:html:`→` :ref:`OcaWorker ` :raw:html:`→` :ref:`OcaActuator ` :raw:html:`→` :ref:`OcaBasicActuator ` :raw:html:`→` :ref:`OcaBitstringActuator ` .. cpp:class:: OcaBitstringActuator: OcaBasicActuator Bitstring actuator. Maximum bitstring length is 65,536 bits. **Properties**: .. _ocabitstringactuator_classid: .. cpp:member:: static const OcaClassID ClassID = "1.1.1.1.13" Number that uniquely identifies the class. Note that this differs from the object number, which identifies the instantiated object. This property is an override of the **OcaRoot** property. This property has id ``5.1``. .. _ocabitstringactuator_classversion: .. cpp:member:: static const OcaClassVersionNumber ClassVersion = 2 Identifies the interface version of the class. Any change to the class definition leads to a higher class version. This property is an override of the **OcaRoot** property. This property has id ``5.2``. .. _ocabitstringactuator_bitstring: .. cpp:member:: OcaBitstring Bitstring The bitstring data. This property has id ``5.1``. Properties inherited from :ref:`OcaWorker `: - :cpp:texpr:`OcaBoolean` :ref:`OcaWorker::Enabled ` - :cpp:texpr:`OcaList` :ref:`OcaWorker::Ports ` - :cpp:texpr:`OcaString` :ref:`OcaWorker::Label ` - :cpp:texpr:`OcaONo` :ref:`OcaWorker::Owner ` - :cpp:texpr:`OcaTimeInterval` :ref:`OcaWorker::Latency ` Properties inherited from :ref:`OcaRoot `: - :cpp:texpr:`OcaONo` :ref:`OcaRoot::ObjectNumber ` - :cpp:texpr:`OcaBoolean` :ref:`OcaRoot::Lockable ` - :cpp:texpr:`OcaString` :ref:`OcaRoot::Role ` **Methods**: .. _ocabitstringactuator_getnrbits: .. cpp:function:: OcaStatus GetNrBits(OcaUint16 &nrBits) Gets the number of bits in the string. The return value indicates whether the property was successfully gathered. This method has id ``5.1``. :param OcaUint16 nrBits: Output parameter. .. _ocabitstringactuator_getbit: .. cpp:function:: OcaStatus GetBit(OcaUint16 bitNr, OcaBoolean &Value) Gets the bit value of the given bit. The return value indicates whether the property was successfully gathered. This method has id ``5.2``. :param OcaUint16 bitNr: Input parameter. :param OcaBoolean Value: Output parameter. .. _ocabitstringactuator_setbit: .. cpp:function:: OcaStatus SetBit(OcaUint16 bitNr, OcaBoolean Value) Sets the bit value of the given bit. The return value indicates whether the property was successfully set. This method has id ``5.3``. :param OcaUint16 bitNr: Input parameter. :param OcaBoolean Value: Input parameter. .. _ocabitstringactuator_getbitstring: .. cpp:function:: OcaStatus GetBitstring(OcaBitstring &BitString) Gets the entire bitstring.The return value indicates whether the property was successfully gathered. This method has id ``5.4``. :param OcaBitstring BitString: Output parameter. .. _ocabitstringactuator_setbitstring: .. cpp:function:: OcaStatus SetBitstring(OcaBitstring BitString) Sets the entire bitstring. The return value indicates whether the property was successfully set. This method has id ``5.5``. :param OcaBitstring BitString: Input parameter. Methods inherited from :ref:`OcaWorker `: - :ref:`OcaWorker::GetEnabled(enabled) ` - :ref:`OcaWorker::SetEnabled(enabled) ` - :ref:`OcaWorker::AddPort(Label, Mode, ID) ` - :ref:`OcaWorker::DeletePort(ID) ` - :ref:`OcaWorker::GetPorts(OcaPorts) ` - :ref:`OcaWorker::GetPortName(PortID, Name) ` - :ref:`OcaWorker::SetPortName(PortID, Name) ` - :ref:`OcaWorker::GetLabel(label) ` - :ref:`OcaWorker::SetLabel(label) ` - :ref:`OcaWorker::GetOwner(owner) ` - :ref:`OcaWorker::GetLatency(latency) ` - :ref:`OcaWorker::SetLatency(latency) ` - :ref:`OcaWorker::GetPath(NamePath, ONoPath) ` Methods inherited from :ref:`OcaRoot `: - :ref:`OcaRoot::GetClassIdentification(ClassIdentification) ` - :ref:`OcaRoot::GetLockable(lockable) ` - :ref:`OcaRoot::LockTotal() ` - :ref:`OcaRoot::Unlock() ` - :ref:`OcaRoot::GetRole(Role) ` - :ref:`OcaRoot::LockReadonly() `